package singleton;

/**
 * 注册式单例子类
 *
 * @author zhangxi
 * @date 2021/1/12
 */
public class RegionSingleChild extends RegionSingle {

    public RegionSingleChild() {

    }

    public static RegionSingleChild getInstance() {
        return (RegionSingleChild) RegionSingle.getInstance(RegionSingleChild.class.getName());
    }

    public String about(){
        return "hello I am RegionSingleChild";
    }

}
